//
//  BaseCell.swift
//  DLuxTravel
//
//  Created by 陆涛 on 2018/11/21.
//  Copyright © 2018 imguider. All rights reserved.
//

import UIKit


/// cell样式
///
/// - container: 容器类型，没有点击事件，背景色kBgColor
enum BaseCellStyle {
    
    case container
}

class BaseCell: UITableViewCell {

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    func configCell(_ style:BaseCellStyle) {
        
        switch style {
        case .container:
            
            self.selectionStyle = .none
            self.backgroundColor = kBgColor
        default:
            break
        }
    }
}
